package com.xyhy.starter.web.sign;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author robert
 * @since 2025-02-26
 */
@Configuration
public class SignConfig implements WebMvcConfigurer {
  private @Autowired SignInterceptor signInterceptor;

  @Override
  public void addInterceptors(InterceptorRegistry registry) {
    registry.addInterceptor(signInterceptor);
  }

}
